﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1.View
{
    public partial class customerTableFormRe : Form
    {
        public customerTableFormRe()
        {
            InitializeComponent();
        }

        private void customer_BindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.customer_BindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.database1DataSet);

        }

        private void customerTableForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'database1DataSet.Customer_' table. You can move, or remove it, as needed.
            this.customer_TableAdapter.Fill(this.database1DataSet.Customer_);

        }

        private void return_button_Click(object sender, EventArgs e)
        {
            this.Hide();
            קליטת_לקוח c1 = new קליטת_לקוח();
            c1.ShowDialog();
        }

        private void customer_DataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }

        private void customer_BindingSource_CurrentChanged(object sender, EventArgs e)
        {

        }
    }
}
